package com.peas.platform.module.icims.contract.initial.domain.impl;

import com.peas.platform.framework.mybatisplus.domain.BaseDomainImpl;
import com.peas.platform.framework.mybatisplus.repository.BaseRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.ContractInitialEffectRepository;
import com.peas.platform.module.icims.contract.initial.adapter.repository.po.ContractInitialEffectPo;
import com.peas.platform.module.icims.contract.initial.domain.ContractInitialEffectDomain;
import com.peas.platform.module.icims.contract.initial.dto.ContractInitialEffectDto;
import org.springframework.stereotype.Component;

import javax.annotation.Resource;

@Component
public class ContractInitialEffectDomainImpl extends BaseDomainImpl<ContractInitialEffectDto, ContractInitialEffectPo> implements ContractInitialEffectDomain {

    @Resource
    private ContractInitialEffectRepository contractInitialEffectRepository;

    @Override
    public BaseRepository<ContractInitialEffectPo> getMapper() {
        return contractInitialEffectRepository;
    }

    @Override
    public Class<? extends BaseRepository<ContractInitialEffectPo>> getRepositoryClass() {
        return ContractInitialEffectRepository.class;
    }

}
